package com.xayy.health.mgt.model;

import cn.kawins.mybatis.base.BaseModel;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author dongxingli
 * createTime 2023/9/26
 * @version V1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "HEALTH.test_table")
@EqualsAndHashCode(callSuper = true)
public class TestLindorm extends BaseModel<String> {

    @Id
    @Column(name = "id")
    private String id;

    private String name;

    @Override
    public String idValue() {
        return id;
    }
}
